<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>后台管理跳转</title>
    <script type="text/javascript" src="../../../js/Base64.js"></script>
</head>
<body>
<a href="from.html">返回</a>
<p>参数接收: </p>
<div id="contentParam" style="width: 100%;word-break: break-all;"></div>
</body>
<script type="text/javascript">
    getparam();


    function getparam() {
        var url = location.search; //获取url中"?"符后的字串
        var theRequest = {};
        if (url.indexOf("?") !== -1) {
            var str = url.substr(1);
            strs = str.split("&");
            for (var i = 0; i < strs.length; i++) {
                theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
            }
        }
        var div = document.getElementById("contentParam");
        div.innerHTML = Base64.decode(theRequest.aaa)
        console.log(theRequest);

        return theRequest;
    }
</script>
</html>